package com.jandan.ui.client.service;

import java.util.List;
import java.util.Map;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.jandan.ui.model.LearnedWord;
import com.jandan.ui.model.StrangeWordGroupInfo;
import com.jandan.ui.model.Word;
@RemoteServiceRelativePath("strangeWord.rpc")
public interface StrangeWordService extends RemoteService {

	public static class Util {

		public static StrangeWordServiceAsync getInstance() {

			return GWT.create(StrangeWordService.class);
		}
	}

	public List<Word> getNewStrangeWordList(int groupNumber);

	public List<LearnedWord> getLearnedStrangeWordList(int groupNumber);

	public List<Word> getAllStrangeWordList();

	public List<LearnedWord> getAllLearnedStrangeWordList();

	public Map<String, List> getNewStrangeWordAndLearnedStrangeWordList(
			int groupNumber);
	
	public List<StrangeWordGroupInfo> getStrangeWordGroupInfoList();
}
